package com.topscore.uke.mvp.contractors;

import com.topscore.uke.mvp.BaseContractor;
import com.topscore.uke.mvp.model.BaseHttpListener;
import com.topscore.uke.mvp.views.BaseView;
import com.topscore.uke.network.request.PostBodyDataRequest;
import com.topscore.uke.network.retrofit.ApiService;
import com.topscore.uke.network.retrofit.NetClient;

/**
 * Created by 71468 on 2017/10/20.
 */

public interface PostBodyDataContractor extends BaseContractor {
    interface Presenter{
        void postBodyData();
    }

    interface Model{
        ApiService mService = NetClient.getInstance().net().create(ApiService.class);
        void postData(PostBodyDataRequest request);
    }

    interface View extends BaseView{
        void onPostBodyDataSuccess();
    }

    interface Listener extends BaseHttpListener{
        void onPostSuccess();
    }
}
